class Mes:
    def __init__(self, type: str, data: str):
        self.Type = type
        self.Data = data

    def to_dict(self):
        return {
            "Type": self.Type,
            "Data": self.Data
        }